package com.gec.teams.wechat.service;



import com.gec.teams.wechat.db.pojo.TbUser;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Set;

public interface UserService {
    public int registerUser(String registerCode, String code, String nickname, String photo);
    public Set<String> searchUserPermissions(int userId);
    public Integer login(String code);
    public TbUser searchById(int userId);

    public String searchUserHiredate(int userId);

    public HashMap searchUserSummary(int userId);

    public ArrayList<HashMap> searchUserGroupByDept(String keyword);

    public ArrayList<HashMap> searchMembers(List param);

    public ArrayList<HashMap> searchAllMembers();

    public ArrayList<HashMap> searchMembersDetail(List param);


}